package com.skyc.service;

import java.util.List;

import com.skyc.entity.Clothes;

public interface ClothesService {
	public int kucunqueryByIDSizeColor(String cid, String size, String color);
	public List<Clothes> listqueryBySalesCcid();
	public Clothes clothesqueryByCcid(String  ccid);
	public int cidqueryByIdSizeColor(String ccid, String size, String color);
	public int salesqueryByccid(String ccid);
	public Clothes queryByID(String id);
	/**
	 * 条件查询
	 * 
	 * @param sex
	 * @param type
	 * @param color
	 * @param size
	 * @param priceMin
	 * @param priceMax
	 * @return
	 */
	List<Clothes> queryTermAll(String sex, String type, String color, String size, String priceMin, String priceMax);
	
	/**
	 * 价格升序
	 * @param sex
	 * @param type
	 * @param color
	 * @param size
	 * @param priceMin
	 * @param priceMax
	 * @return
	 */
	List<Clothes> queryPriceAsc(String sex, String type, String color, String size, String priceMin,
			String priceMax,String page,String pagesize);
	/**
	 * 价格降序
	 * @param sex
	 * @param type
	 * @param color
	 * @param size
	 * @param priceMin
	 * @param priceMax
	 * @return
	 */
	List<Clothes> queryPriceDesc(String sex, String type, String color, String size, String priceMin,
			String priceMax,String page,String pagesize);
	/**
	 * 销量升序
	 * @param sex
	 * @param type
	 * @param color
	 * @param size
	 * @param priceMin
	 * @param priceMax
	 * @return
	 */
	List<Clothes> querySalesAsc(String sex, String type, String color, String size, String priceMin,
			String priceMax,String page,String pagesize);
	/**
	 * 销量降序
	 * @param sex
	 * @param type
	 * @param color
	 * @param size
	 * @param priceMin
	 * @param priceMax
	 * @return
	 */
	List<Clothes> querySalesDesc(String sex, String type, String color, String size, String priceMin,
			String priceMax,String page,String pagesize);
}
